package Sunday;

public class Sale {
    private Integer product_id;
    private Integer cust_id;
    public Sale(){
    }
    public Sale(Integer product_id, Integer cust_id){
        this.product_id=product_id;
        this.cust_id =cust_id;
    }
    public Integer getProduct_id(){
        return product_id;
    }
    public void setProduct_id(){
        this.product_id=product_id;
    }
    public Integer getCust_id(){
        return cust_id;
    }
    public void setCust_id(Integer cust_id){
        this.cust_id=cust_id;
    }
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("sale{");
        sb.append("product.id=").append(product_id);
        sb.append(", cust_id='").append(cust_id).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
